package day6;

/**
 * @author oldliu
 * @since 1.0
 */
public class Arr3 {
    public static void main(String[] args) {
        int[]a1={1,3,4,6,7,8,9,14,23};
        System.out.println("长度是："+a1.length);
        for(int i=0;i<a1.length;i++)
        {
            System.out.println(i+":"+a1[i]+"\t");
        }
        System.out.println();
        System.out.println(">>>>>>>>>>>>>>>>>>>>>>>>>>>>>");
        for(int s:a1){//增强for循环
            System.out.println(s);
        }
    }
}
